use std::collections::HashMap;
use macro_rust::{map_push, vec_test};


///执行这段代码要把cargo.toml 中下面内容去掉
/// [lib]
/// proc-macro=true
fn main() {

    let vec:Vec<u32> = vec![1,2,3];
    println!("{:?}", vec);

    let vec:Vec<u32> = vec_test![1,2,3];
    println!("{:?}", vec);

    let vec:Vec<u32> = macro_rust::vec_custom![1,2,3];
    println!("{:?}", vec);

    let mut map: HashMap<String,String> = map_push![];
    map.insert("a".to_string(),'b'.to_string());
    println!("{:?}", map);
}